package com.chengcang.api.modules.log.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 操作日志
 *
 * @author Zhanli xy321231@163.com
 * @since 1.0.0 2023-01-31
 */
@Data
@ApiModel(value = "操作日志")
public class SysLogOperateDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "操作表")
	private String tableName;

	@ApiModelProperty(value = "操作前内容")
	private String beforeInfo;

	@ApiModelProperty(value = "操作后内容")
	private String afterInfo;

	@ApiModelProperty(value = "操作方式")
	private String operation;

	@ApiModelProperty(value = "操作时间")
	private Date operationTime;

	@ApiModelProperty(value = "操作人")
	private Long operatorId;

	@ApiModelProperty(value = "操作人姓名")
	private String operatorName;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "客户ID")
	private Long tenantId;

	@ApiModelProperty(value = "创建人员")
	private Long creator;

	@ApiModelProperty(value = "更新人员")
	private Long updater;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "更新时间")
	private Date updateDate;

	@ApiModelProperty(value = "0 有效 1 无效")
	private Integer deleted;


}